Default Configurations
Here you can find all the default configuration files.
config.yml
globalPrefix: "&8[BEE40L-EB39oFE832tAE52Bt@E123eEDE1CrNDB15y&8] &7ยป"
announcementInterval: 6000
language-file: messages_en.yml
currency:
name: "Dollar"
symbol: "$"
allowDecimals: false
placeholder: "%vault_eco_balance%"
give_command: "eco give {player} {amount}"
take_command: "eco take {player} {amount}"
lottery:
ticketPrice: 50000.0
prize: 20000.0
maxTicketsPerPlayer: 3
minTicketsToDraw: 15
drawingDelaySeconds: 7200
infiniteSymbol: "โ"
minimum-players:
amount: -1
reset: true
database:
type: "sqlite"
mysql:
host: "localhost"
port: 3306
database: "lottery"
username: "root"
password: ""
h2:
file: "lottery.db"
sqlite:
file: "lottery.db"
placeholders:
prefix: "cocolottery"
last_winner:
placeholder: "last_winner"
value: "{value}"
none: "-"
current_prize:
placeholder: "current_prize"
value: "{value}"
none: "-"
next_drawing:
placeholder: "next_drawing"
value: "{value}"
none: "-"
your_tickets:
placeholder: "your_tickets"
value: "{value}"
none: "-"
total_tickets:
placeholder: "total_tickets"
value: "{value}"
none: "-"
gui.yml
gui:
size: 36
title: " &8สแดแดแดแดสส ษขแดษช"
filler:
material: GRAY_STAINED_GLASS_PANE
name: " "
lore: []
filler_slots: [27, 28, 29, 30, 32, 33, 34, 35]
items:
buy:
slot: 11
material: DIAMOND
name: "�FFFFBuy Lottery"
lore:
- ""
- "&fIf you also want to participate"
- "&fin the draws, buy a lottery ticket."
- ""
- "&eLeft-Click &6ยป &7Buy"
buyAmount: 1
status:
slot: 15
material: PAPER
name: "FB22&lSTATUS"
lore:
- ""
- "&8โข &fYour Tickets: &#FFEE00%ptickets%/%maxTickets%"
- "&8โข &fGlobal Tickets: &#FFEE00%total%"
- ""
- "&8โข &fPrize: &2$FB22%prize%"
- "&8โข &fNext lottery: &#FFEE00%next%"
- "&8โข &fLast winner: &#FFEE00%winner%"
close:
slot: 31
material: BARRIER
name: "&#FF0000Close"
lore:
- ""
- "&fYou can close this"
- "&fmenu by clicking here"
- ""
- "&eLeft-Click &6ยป &7Close"
webhook.yml
buy:
url: "https://discord.com/api/webhooks/URL"
embed:
title: "๐๏ธ Ticket Purchase"
description: |
**Purchase Details:**
โข Player: `%player%`
โข Tickets Purchased: `%amount%`
โ
Thank you for your purchase! Best of luck in the lottery.
color: "#00FF00"
footer: "CocoLottery"
image: ""
thumbnail: ""
add:
url: "https://discord.com/api/webhooks/URL"
embed:
title: "โ Ticket Added"
description: |
**Ticket Addition:**
โข Player: `%player%`
โข Tickets Added: `%amount%`
๐ Your ticket count has been updated.
color: "#00FF00"
footer: "CocoLottery"
image: ""
thumbnail: ""
remove:
url: "https://discord.com/api/webhooks/URL"
embed:
title: "โ Ticket Removed"
description: |
**Ticket Removal:**
โข Player: `%player%`
โข Tickets Removed: `%amount%`
โ ๏ธ The ticket count has been adjusted.
color: "#FF0000"
footer: "CocoLottery"
image: ""
thumbnail: ""
reset:
url: "https://discord.com/api/webhooks/URL"
embed:
title: "๐ Lottery Reset"
description: |
The lottery has been reset to its base state.
๐ฒ A new round will start shortly.
color: "#FFFF00"
footer: "CocoLottery"
image: ""
thumbnail: ""
draw:
url: "https://discord.com/api/webhooks/URL"
embed:
title: "๐ Lottery Draw Result"
description: |
**Draw Result:**
โข Winner: `%winner%`
โข Prize: `%prize%`
๐ Congratulations to the winner! Thank you for participating.
color: "#FFD700"
footer: "CocoLottery"
image: ""
thumbnail: ""
preDraw:
- 7200
- 7000
- 3000
- 1200
- 600
- 300
- 120
- 60
- 30
- 15
preDrawEmbed:
url: "https://discord.com/api/webhooks/URL"
title: "โณ Lottery Starting Soon"
description: |
**Pre-Draw Notice:**
Only `%time%` seconds left until the lottery draw begins.
โ Get ready for the big moment!
color: "#FFA500"
footer: "CocoLottery - PreDraw"
image: ""
thumbnail: ""